home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / util / rexx / ParseVariables.readme < prev    next >
Encoding:
Text File  |  1999-09-06  |  1.7 KB  |  43 lines

  1. Short:    ARexx error-line variable parser
  2. Author:   Ron Goertz
  3. Uploader: rgoertz@wsu.edu
  4. Type:     util/rexx
  5. Replaces: util/rexx/ParseVariables*
  6.  
  7. The ParseVariables() routine takes an error line (usually an
  8. equation) as its argument and determines the values of any
  9. variables in that line. This can greatly speed up debugging by
  10. not having to enter specific debugging information lines for each
  11. suspect line.
  12.  
  13. * Functions (eg, left(), strip(), etc) are not included in the printout
  14. * All uninitialized variables will be put in a single line labeled LIT
  15. * All variables, including those used in compound variables, will have
  16.     their current value printed
  17. * Variables will only be listed once
  18.  
  19. Because the routine must be able to query the values of the variables in
  20. the suspect line, this routine can't be made a PROCEDURE. All variables
  21. used by the routine, then, start with PV_ to (hopefully) prevent over-writing
  22. variables used by the main program.
  23.  
  24. To see the results of this macro, simply open a shell and type
  25.  
  26.   rx <path>ParseVariables.rexx
  27.  
  28. Try changing the assigned variables and the "dummy" line to see other results.
  29.  
  30. Please let me (Ron Goertz <goertz@earthlink.net>) know if this function is of
  31. use to you, doesn't work for you, or if you have ideas on how to improve it.
  32. This routine was developed for use in my calendar creator, FWCalendar: THE
  33. calendar creator for Final Writer and PageStream.
  34.  
  35.  
  36. ============================= Archive contents =============================
  37.  
  38. Original  Packed Ratio    Date     Time    Name
  39. -------- ------- ----- --------- --------  -------------
  40.     3269    1380 57.7% 14-Aug-99 07:42:12  ParseVariables.rexx
  41. -------- ------- ----- --------- --------
  42.     3269    1380 57.7% 15-Aug-99 21:45:18   1 files
  43.